Ext.define('pm.store.PersonalStruct', {
    extend: 'Ext.data.TreeStore',
    model: 'pm.model.Personal',
	autoLoad: true,
	//autoSync: true,
/*
	proxy: {
	    type: 'ajax',
	    api: {
	        read: 'data/personal.json',
	        update: 'data/personal.json'
	    },
	    reader: {
	        type: 'json',
	        root: 'personal',
	        successProperty: 'success'
	    }
	},
*/
    folderSort: true,
    root: {
    	id: 1,
        name: 'Root',
        email: 'asd@asd',
        expanded: true,
        children: [
            {
            	id: 2,
                name: 'Child 1',
                email: 'asd@asd',
                leaf: true
            },
            {
            	id: 3,
                name: 'Child 2',
                email: 'asd@asd',
                leaf: true
            },
            {
            	id: 4,
                name: 'Child 3',
                email: 'asd@asd',
                expanded: true,
                children: [
                    {
                    	id: 5,
                        name: 'Grandchild',
                        email: 'asd@asd',
                        leaf: true
                    }
                ]
            }
        ]
    }

});